;; TW68XX.inf
;; Copyright (C) Techwell 2010, all rights are reserved

;--------- Version Section ---------------------------------------------------

[Version]
Signature="$CHICAGO$"

Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%ProviderName%
DriverVer= 07/10/2010,1.2.0.0

;--------- SourceDiskNames and SourceDiskFiles Section -----------------------

[SourceDisksNames]
1 = "TW68XX device driver Disk",Disk1,,

[SourceDisksFiles]
TW68XX.sys = 1,,

;--------- ClassInstall/ClassInstall32 Section -------------------------------

; Not necessary if using a standard class

; 9X Style
[ClassInstall]
Addreg=Class_AddReg

; NT Style
[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-1"

;--------- DestinationDirs Section -------------------------------------------

[DestinationDirs]
TW68XX_Files_Driver = 10,System32\Drivers

;--------- Manufacturer and Models Sections ----------------------------------

[Manufacturer]
%MfgName%=Mfg0,NTamd64

[Mfg0]

; PCI hardware IDs use the form
;
%Device6801Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6801&SUBSYS_68011797&REV_10
%Device6802Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6802&SUBSYS_68011797&REV_10
%Device6801Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6801&SUBSYS_FFFFFFFF&REV_10
%Device6802Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6802&SUBSYS_FFFFFFFF&REV_10
;%Device6801Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6801;;&SUBSYS_00000000&REV_00
;%Device6802Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6802;;&SUBSYS_00000000&REV_00
%Device6803Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6803;;&SUBSYS_00000000&REV_00
%Device6804Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6804;;&SUBSYS_00000000&REV_00
%Device6805Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6805;;&SUBSYS_00000000&REV_00
%Device6806Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6806;;&SUBSYS_00000000&REV_00
%Device6864Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6864
%Device6816Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6810
%Device6816Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6811
%Device6816Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6812
%Device6816Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6813
%Device6817Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6814
%Device6817Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6815
%Device6817Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6816
%Device6817Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6817
%Device6869Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6869

[Mfg0.NTamd64]

; PCI hardware IDs use the form
;
%Device6801Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6801&SUBSYS_68011797&REV_10
%Device6802Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6802&SUBSYS_68011797&REV_10
%Device6801Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6801&SUBSYS_FFFFFFFF&REV_10
%Device6802Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6802&SUBSYS_FFFFFFFF&REV_10
;%Device6801Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6801;;&SUBSYS_00000000&REV_00
;%Device6802Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6802;;&SUBSYS_00000000&REV_00
%Device6803Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6803;;&SUBSYS_00000000&REV_00
%Device6804Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6804;;&SUBSYS_00000000&REV_00
%Device6805Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6805;;&SUBSYS_00000000&REV_00
%Device6806Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6806;;&SUBSYS_00000000&REV_00
%Device6864Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6864
%Device6816Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6810
%Device6816Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6811
%Device6816Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6812
%Device6816Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6813
%Device6817Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6814
%Device6817Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6815
%Device6817Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6816
%Device6817Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6817
%Device6869Desc%=TW68XX_DDI, PCI\VEN_1797&DEV_6869

;---------- DDInstall Sections -----------------------------------------------
; --------- Windows 9X -----------------

; Experimentation has shown that DDInstall root names greater than 19 characters
; cause problems in Windows 98

[TW68XX_DDI]
CopyFiles=TW68XX_Files_Driver
AddReg=TW68XX_9X_AddReg

[TW68XX_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,TW68XX.sys
; --------- Windows NT -----------------

[TW68XX_DDI.NT]
CopyFiles=TW68XX_Files_Driver

[TW68XX_DDI.NT.Services]
Addservice = TW68XX, 0x00000002, TW68XX_AddService

[TW68XX_DDI.NTamd64]
CopyFiles=TW68XX_Files_Driver

[TW68XX_DDI.NTamd64.Services]
Addservice = TW68XX, 0x00000002, TW68XX_AddService

[TW68XX_AddService]
DisplayName    = %SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\TW68XX.sys

; --------- Files (common) -------------

[TW68XX_Files_Driver]
TW68XX.sys

;--------- Strings Section ---------------------------------------------------

[Strings]
ProviderName="Techwell"
MfgName="Techwell"
Device6801Desc="TW6802 Video"
Device6802Desc="TW6802 Audio"
Device6803Desc="TW6802 TS"
Device6804Desc="TW6805 Video"
Device6805Desc="TW6805 Audio"
Device6806Desc="TW6805 TS"
Device6864Desc="TW6864 Capture"
Device6816Desc="TW6816 Video"
Device6817Desc="TW6816 Audio"
Device6869Desc="TW6869 Capture"
DeviceClassName="Techwell"
SvcDesc="Techwell TW68XX device"